

class DutyData {
  String? dictLabel;
  String? dictValue;
  String? dictType;
  dynamic cssClass;
  int? dictSort;

  DutyData({this.dictLabel, this.dictValue, this.dictType, this.cssClass, this.dictSort});

  DutyData.fromJson(Map<String, dynamic> json) {
    if(json["dictLabel"] is String) {
      dictLabel = json["dictLabel"];
    }
    if(json["dictValue"] is String) {
      dictValue = json["dictValue"];
    }
    if(json["dictType"] is String) {
      dictType = json["dictType"];
    }
    cssClass = json["cssClass"];
    if(json["dictSort"] is int) {
      dictSort = json["dictSort"];
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["dictLabel"] = dictLabel;
    _data["dictValue"] = dictValue;
    _data["dictType"] = dictType;
    _data["cssClass"] = cssClass;
    _data["dictSort"] = dictSort;
    return _data;
  }
}